body {
    background-color: #f2f2f2;
    min-width: 1180px;
    font-family: "Microsoft YaHei",微软雅黑,"MicrosoftJhengHei",华文细黑,STHeiti,"Segoe UI","Lucida Grande",Helvetica,Arial,"Microsoft YaHei",FreeSans,Arimo,"Droid Sans","wenquanyi micro hei","Hiragino Sans GB","Hiragino Sans GB W3",FontAwesome,sans-serif;
}

.clear {
    clear: both;
}
.fl { float: left; }
.fr { float: right; }
.red { color: red; }
.blue { color: blue; }
.green { color: green; }
.gray { color: #919191; }
.pointer { cursor: pointer; }
.yellow { color: #f8b818; }

#top {
    min-width: 1180px;
    position: fixed;
    left: 0px;
    right: 0px;
    top: 0px;
    z-index: 101;
    height: 130px;
    background-color: #242424;
    background-image: url("../../public/all/images/top_bg.png");
    background-repeat: no-repeat;
    background-position-x: center;
}
#top .line1 {
    width: 1180px;
    height: 86px;
    margin: auto;
    font-size: 14px;
}
#top .line1 div.td {
    float: left;
}
#top .line1 .line {
    border-right: 1px solid #000;
    height: 50px;
    width: 5px;
    margin-right: 5px;
    margin-top: 18px;
}
#top .line1 .logo {
    width: 230px;
    height: 100%;
}
#top .line1 .logo div {
    display: inline-block;
    font-size: 16px;
    color: #f7b717;
    line-height: 84px;
    text-align: center;
    width: 120px;
}
#top .line1 .logo img {
    margin-left: 20px;
}
#top .line1 .results {
    width: 310px;
}
#top .sound {
    display: block;
    float: left;
    width: 16px;
    height: 16px;
    margin-left: 15px;
    margin-top: 15px;
    background-image: url("../../public/all/images/sound.png");
}
#top .sound-close {
    background-image: url("../../public/all/images/sound-close.png");
}
#top #periods {
    float: left;
    font-size: 14px;
    color: #a5a5a5;
    margin-left: 10px;
    margin-top: 12px;
}
#top .result2 {
    border: 0px;
    border-radius: 4px;
    text-align: center;
}
#top .result2 .item {
    display: inline-block;
    width: 24px;
    height: 24px;
    margin-right: 2px;
    margin-left: 2px;
    text-align: center;
    line-height: 24px;
    color: white;
    border-radius:5px;
}
#top .current {
    width: 240px;
}
#top .current div {
    float: left;
    color: #a5a5a5;
    font-size: 14px;
    line-height: 30px;
}
#top .current .issue {
    float: none;
    margin-left: 10px;
    margin-top: 12px;
}
#top .current .fp_title {
    margin-left: 10px;
}
#top .current #fp_cd, #top .current #kj_cd {
    margin-left: 10px;
    color: #000;
    background-color: #f7b717;
    border-radius: 4px;
    width: 66px;
    text-align: center;
}
#top .current .kj_title {
    margin-left: 10px;
}
#top .menu6 {
    width: 240px;
    padding-top: 14px;
}
#top .menu6 li {
    text-align: center;
}
#top .menu6 li a {
    font-size: 14px;
    color: #a5a5a5;
    text-decoration: underline;
    line-height: 30px;
}
#top .menu6 li a:hover {
    color: #f7b717;
}
#top .kfonline {
    padding: 12px 0px 0px 10px;
}

#top .line2 {
    width: 1180px;
    margin: auto;
    font-size: 14px;
    margin-top: 15px;
}

#left {
    width: 230px;
    float: left;
}
#left .account-info {
    height: 317px;
    background-color: #fff;
    border-radius: 4px;
    border-right: 1px solid #e6e6e6;
    border-bottom: 2px solid #cecece;
}

#content {
    width: 932px;
    min-height: 635px;
    float: right;
}

/** 顶部栏 */
#top .am-selected-btn {
    border: 0px;
    color: #fdde24;
    line-height: 54px;
    font-size: 30px;
    font-weight: bold;
}
#top .am-btn-default {
    background: none;
}
#top .am-dropdown-content {
    color: black;
    border: 1px solid black;
}

#top select {
    background-color: black;
    border-width: 0px;
}
#top option {
    font-size: 16px;
    height: 60px;
    padding: 10px 0 10px 10px;
    background-color: white;
    color: black;
}

/** 游戏列表菜单 */
.game_list {
    width: 1180px;
    height: 30px;
}
.game_list ul {
    height: 18px;
    line-height: 18px;
    margin-top: 7px;
    text-align: center;
}
.game_list .am-nav>li>a {
    padding-top: 0px;
    padding-bottom: 0px;
    color: #eaeaea;
    background: none;
    border-right: 1px solid #444444;
}
.game_list .am-nav>li>a:hover {
    color: #ffdc52;
}
.game_list .am-nav>li.am-active>a {
    color: #ffdc52;
    background: none;
}
.game_list ul.am-dropdown-content {
    height: auto;
    width: auto;
}

/** 左边栏目 */
#left .account_title, .long_title, .bet_history_title {
    font-size: 16px;
    color: #111;
    border-bottom: 1px solid #e5e5e5;
    line-height: 40px;
    padding-left: 15px;
}
#left .account_title a {
    display: inline-block;
    margin-left: 20px;
    font-size: 12px;
    color: #fe0000;
}
.account {
    font-size: 14px;
    color: #717171;
    padding: 15px;
}
.account div {
    line-height: 30px;
}
.account div .name { color: #000; }
.account .charge, .account .take {
    display: block;
    text-align: center;
    font-size: 14px;
    line-height: 36px;
    color: #fff;
    background-color: #ea4235;
    border-radius: 4px;
    margin: 10px 0px 10px 0px;
}
.account .take {
    background-color: #f4f4f4;
    color: #666666;
    border: 1px solid #d8d8d8;
}
#left .money, #left .bet_money {
    font-weight: bold;
    color: red;
}
.account ul {
    margin-top: 20px;
}
.account ul a {
    display: inline-block;
    width: 90px;
    line-height: 36px;
    border-radius: 4px;
    background-color: #ffd101;
    font-size: 12px;
    color: #000;
    text-align: center;
}

#left .long-info, #left .bet-info {
    background-color: #fff;
    border-radius: 4px;
    border-right: 1px solid #e6e6e6;
    border-bottom: 2px solid #cecece;
    margin-top: 10px;
}

.today_win {
    font-weight: bold;
}

#left table td {
    font-size: 12px;
}
#left table th {
    font-size: 12px;
}
#left .long .qi {
    width: 40px;
}

#left .total_bet {
    font-size: 14px;
    line-height: 32px;
    padding: 10px 0 0 15px;
}
#left .total_bet span {
    color: #ff1012;
    font-size: 22px;
}
#left .am-table {
    margin-bottom: 5px;
}

/** 内容页 */
[data-am-widget=tabs] {
    margin: 0px;
}
.am-tabs-nav {
    font-size: 14px;
    font-weight: bold;
    background-color: #fff;
    border: 1px solid #d8d8d8;
    border-top-left-radius: 4px;
    border-top-right-radius: 4px;
}
.am-tabs-default .am-tabs-nav>.am-active a {
    background: #fff;
    color: #000;
    line-height: 40px;
    border-bottom: 3px solid #ffd100;
}
.am-tabs-default .am-tabs-nav a {
    background: #fff;
    color: #8d8d8d;
    line-height: 43px;
    border-bottom: 0px;
}
.am-tabs-bd .am-tab-panel {
    padding: 0px;
}
#game .am-tabs-bd {
    border: 0px;
    background: none;
}

.type_select {
    background-color: white;
    border-bottom: 1px solid black;
    padding: 10px;
}

.white_bg {
    background-color: white;
}

.clue {
    font-size: 14px;
    background-color: #fff;
    padding: 8px;
    border: 1px solid #d8d8d8;
    border-top: 0px;
    border-bottom-left-radius: 4px;
    border-bottom-right-radius: 4px;
    margin-bottom: 10px;
}

/** 下注表格 */
#content table.container {
    margin-bottom: 8px;
    border-collapse: separate;
    border-spacing: 0;
    width: 100%;
}
#content table.container th {
    background-color: #e3e3e3;
    text-align: center;
    color: #000;
    line-height: 28px;
    font-size: 16px;
    font-weight: normal;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
}
#content table.container td {
    background-color: #fff;
    border-bottom: 1px solid #dcdcdc;
    text-align: center;
}
#content table.container tr:last-child td:first-child {
    border-bottom-left-radius: 5px;
}
#content table.container tr:last-child td:last-child {
    border-bottom-right-radius: 5px;
}

#content table.container td.line { width: 1px !important; }
#content table.container div.line {
    width: 1px;
    height: 20px;
    background-color: #ccc;
}

div.bet-item {
    display: inline-block;
    text-align: center;
    cursor: pointer;
    text-align: left;
    line-height: 24px;
    margin: auto;
    padding: 5px 5px 5px 5px;
    border-radius: 5px;
}
.bet-item .title {
    display: inline-block;
    color: #000;
    font-size: 16px;
    text-align: center;
    width: auto;
}
.bet-item .rate {
    display: inline-block;
    font-size: 14px;
    color: #fe2321;
    width: 50px;
    text-align: center;
}
.bet-item .amount {
    display: inline-block;
    width: 60px;
    position: relative;
}
.bet-item input {
    width: 100%;
    height: 20px;
    background-color: #fff;
    border: 1px solid #b7b7b7;
    border-radius: 4px;
    font-size: 14px;
    padding-left: 5px;
    color: black;
    line-height: 24px;
}
.bet-active {
    background-color: #fede27 !important;
}
.bet-active input {
    background-color: #fff8d3;
}
.bet-item .fp-flag {
    position: absolute;
    left: 0px;
    right: 0px;
    top: 0px;
    bottom: 0px;
    text-align: center;
    color: gray;
    display: none;
    font-size: 14px;
}

.counter-confirm {
    padding: 5px 10px 5px 0px;
    text-align: center;
    line-height: 30px;
    font-size: 14px;
    color: #000;
    line-height: 38px;
    margin-bottom: 5px;
}
.counter-confirm .title {
    display: inline-block;
}
.counter-confirm input {
    display: inline-block;
    width: 216px;
    line-height: 30px;
    background-color: #fff;
    border: 1px solid #e3e3e3;
    border-radius: 5px;
    font-size: 14px;
    text-align: center;
    margin-left: 15px;
}
.counter-confirm button, #edit-menu button {
    display: inline-block;
    width: 80px;
    background: none;
    border: 0px;
    font-size: 14px;
    color: #000;
    line-height: 28px;
    background-color: #ffd101;
    border-radius: 5px;
    margin: 0px 0px 0px 15px;
}
#edit-menu .cancel {
    background-image: url("../../public/all/images/cancel.png");
}
.counter-confirm .reset {
    background-color: #e0dedf;
    border: 1px solid #b3b3b3;
    line-height: 26px;
}

#content .am-tabs-bd .am-tab-panel {
    min-height: 640px;
}

#popup_content {
    position: relative;
    padding: 10px;
    min-height: 300px;
    text-align: left;
    font-size: 14px;
}
#popup_content h3 {
    text-align: left;
    font-weight: bold;
}

 .am-modal-dialog .am-table>thead>tr>th {
   border-bottom: 1px solid black;
   background-color: #fede27;
   color: black;
 }
 .am-modal-dialog .am-table-bordered>thead>tr>th {
   border-left: 1px solid black;
 }
 .am-modal-dialog .am-table-bordered {
   border: 1px solid black;
   color: black;
 }
 .am-modal-dialog .am-table>tbody>tr>td {
   border-top: 1px solid black;
 }
 .am-modal-dialog bordered>tbody>tr>td {
  border-left: 1px solid black;
 }
 .am-modal-dialog bordered>thead+tbody>tr:first-child>td {
   border-top: 1px solid black;
 }
 .am-modal-dialog .am-table-bordered>tbody>tr>td {
   border-left: 1px solid black;
 }
 .am-modal-dialog .sum {
   float: right;
   width: 200px;
   font-size: 18px;
   color: black;
 }

 /** 开奖结果 */
 .history_result {
     width: 1024px;
     margin: auto;
 }
.history_result .left-top {
    position: absolute;
    width: 200px;
    height: 200px;
    top: 30px;
    background-color: white;
    background-image: url("../../public/all/images/pop-l-t.png");
  }
  .history_result .left-bottom {
    position: absolute;
    width: 200px;
    height: 200px;
    left: 0;
    bottom: 0px;
    background-color: white;
    background-image: url("../../public/all/images/pop-l-b.png");
  }
  .history_result .right-top {
    position: absolute;
    width: 200px;
    height: 200px;
    right: 0px;
    top: 30px;
    background-color: white;
    background-image: url("../../public/all/images/pop-r-t.png");
  }
  .history_result .right-bottom {
    position: absolute;
    width: 200px;
    height: 200px;
    right: 0px;
    bottom: 0px;
    background-color: white;
    background-image: url("../../public/all/images/pop-r-b.png");
  }
  .history_result .border {
    position: absolute;
    left: 200px;
    right: 200px;
    bottom: 0px;
    top: 30px;
    border-top: 4px solid black;
    border-bottom: 4px solid black;
    background-color: white;
  }
  .history_result .border2 {
    position: absolute;
    left: 0px;
    right: 0px;
    bottom: 200px;
    top: 230px;
    border-left: 4px solid black;
    border-right: 4px solid black;
    background-color: white;
  }

  .history_result .close {
    position: absolute;
    width: 54px;
    height: 54px;
    right: -15px;
    top: 20px;
  }
  .history_result .title {
    position: absolute;
    width: 251px;
    height: 89px;
    right: 44px;
    top: 4px;
  }
 .history_result .am-table>thead>tr>th {
   border-bottom: 1px solid black;
   background-color: #fede27;
   color: black;
 }
 .history_result .am-table-bordered>thead>tr>th {
   border-left: 1px solid black;
 }
 .history_result .am-table-bordered {
   border: 1px solid black;
   color: black;
 }
 .history_result .am-table>tbody>tr>td {
   border-top: 1px solid black;
 }
 .history_result bordered>tbody>tr>td {
  border-left: 1px solid black;
 }
 .history_result bordered>thead+tbody>tr:first-child>td {
   border-top: 1px solid black;
 }
 .history_result .am-table-bordered>tbody>tr>td {
   border-left: 1px solid black;
 }
 .history_result .sum {
   float: right;
   width: 200px;
   font-size: 18px;
   color: black;
 }

/** 下注确认框 */ 
#bet_clue .border, #edit-menu .border {
    background-color: #e5e1dd;
    border: 2px solid black;
    border-radius: 5px;
}
#bet_clue .am-modal-bd, #edit-menu .am-modal-bd {
    padding: 0px;
    border: 0px;
}
#bet_clue .buttons, #edit-menu .buttons { margin: 10px 0 0px 0px; }
#bet_clue .buttons {
    text-align: center;
}
#edit-menu .ok {
    width: 70px;
    height: 30px;
    background-image: url("../../public/all/images/ok.png");
    margin: 0px 20px 10px 114px;
}
#edit-menu .cancel {
    width: 70px;
    height: 30px;
    background-image: url("../../public/all/images/cancel.png");
}
#bet_clue .clue-title, #edit-menu .clue-title {
    text-align: center;
    font-size: 18px;
    font-weight: bold;
    background-color: #ffd946;
    color: black;
    padding: 5px;
}
#bet_clue table, #edit-menu table {
    margin-left: 3%;
    width: 94%;
    margin-top: 5px;
    margin-bottom: 10px;
    font-size: 14px;
}
#bet_clue .c2 {
    width: 60px
}
#bet_clue .c3 {
    width: 120px;
}
#bet_clue .c4 {
    width: 50px;
}
#bet_clue th, #edit-menu th {
    font-size: 14px;
    color: #baa279;
    font-weight: bold;
    padding: 5px 0 5px 0;
    border-bottom: 1px solid #b5aea5;
    text-align: center;
}
#bet_clue td, #edit-menu td {
    border-top: 1px solid #d4cec8;
    color: #585856;
    text-align: center;
    padding: 5px 0px 5px 0px;
}
#bet_clue .c3 input, #edit-menu .c3 input {
    background: none;
    width: 80px;
    border: 1px solid black;
    border-radius: 3px;
    text-align: center;
}
#bet_clue .zushu, #edit-menu .zhushu {
    text-align: center;
    line-height: 40px;
    font-size: 12px;
    background-color: white;
}
#bet_clue .scroll, #edit-menu .scroll {
    max-height: 310px;
    overflow-y: auto;
    background-color: #f9f5ef;
}
#bet_clue button {
    display: inline-block;
    margin: 0px 10px 0px 10px;
    background-color: #ff0000;
    font-size: 14px;
    color: #000;
    border: 1px solid #000;
    border-radius: 4px;
    line-height: 30px;
    width: 80px;
    text-align: center;
}
#bet_clue .cancel {
    background-color: #2bc0cd;
}

.result2-title {
    margin: 10px 0px 5px 0px;
    border-bottom: 1px solid black;
    line-height: 30px;
}
.result2 {
    padding: 10px;
}

/** 中奖提示框 */
.bonus-clue {
    display: none;
    position: fixed;
    right: 0px;
    bottom: 0px;
    width: 280px;
    border: 2px solid black;
    z-index: 1999999;
}
.bonus-clue .title {
    line-height: 30px;
    background-color: #fdde24;
    color: black;
    font-size: 16px;
    font-weight: bold;
    text-align: center;
}
.bonus-clue .c {
    font-size: 12px;
    background-color: white;
    padding: 8px;
    min-height: 150px;
    max-height: 300px;
    overflow-y: auto;
}
.bonus-clue .close {
    position: absolute;
    right: 0px;
    top: 0px;
}

/** 公告弹窗 */
#message .am-modal-dialog {
    background-color: #fff;
    border: 1px solid #000;
    border-radius: 5px;
    text-align: center;
    font-size: 14px;
}
#message .am-modal-dialog .title {
    font-size: 16px;
    color: #000;
    font-weight: bold;
    line-height: 32px;
    border-bottom: 1px solid #919191;
}
#message .am-modal-dialog .subtitle {
    line-height: 30px;
    font-size: 12px;
}
#message .am-modal-dialog .content {
    text-align: left;
    padding: 10px;
}
#message .button {
    margin: 5px 0px 15px 0px;
}
#message .button button {
    background-color: #2bc0cd;
    border: 1px solid #494b4b;
    border-radius: 3px;
    color: #fff;
    line-height: 28px;
    padding: 0px 8px 0px 8px;
}
